package com.example.smart_lock_app.data.model

enum class LockStatus {
    SLEEP,      // 休眠
    START,      // 启动
    OPENED,     // 成功开启
    WARNING     // 发送警告
}

data class LockState(
    val status: LockStatus,
    val statusText: String,
    val lastUpdateTime: Long = System.currentTimeMillis()
)

data class LockLog(
    val id: String,
    val action: String,
    val timestamp: Long,
    val status: LockStatus
) 